package dataBase;

public class goodsData {
    private int goodsId;
    private String name;
    private float price;

    private float number;

    private boolean flog = false;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String showGoodsData() {
        return STR."\{goodsId}\t\t\{price}\t\t\{name}";}

    public float getNumber() {
        return number;
    }

    public void setNumber(float number) {
        this.number = number;
    }

    public boolean getFlog() {
        return flog;
    }

    public void setFlog(boolean flog) {
        this.flog = flog;
    }
}